package com.mktech.taraservice.util;

import org.codehaus.jackson.map.ObjectMapper;

public class JacksonUtil
{
	private static JacksonUtil mInstance;
	ObjectMapper mObjectMapper;
	
	public static JacksonUtil obtain()
	{
		if(mInstance == null)
		{
			mInstance = new JacksonUtil();
		}
		return mInstance;
	}
	
	private JacksonUtil()
	{
		mObjectMapper = new ObjectMapper();
	}
	
	public ObjectMapper getObjectMapper()
	{
		return mObjectMapper;
	}
}
